package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 平台客户档案对象 zsyh_platform_user
 * 
 * @author yuexl
 * @date 2021-12-21
 */
public class ZsyhPlatformUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 提成人手机号 */
    @Excel(name = "提成人手机号")
    private String userPhone;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String userNickname;

    /** 微信头像 */
    @Excel(name = "微信头像")
    private String userWximage;

    /** 微信唯一码 */
    @Excel(name = "微信唯一码")
    private String userOpenid;

    /** 提成人类型（1普通客户2配件店3维修师傅4订单受益人） */
    @Excel(name = "提成人类型", readConverterExp = "1=普通客户2配件店3维修师傅4订单受益人")
    private String userType;

    //是否订单管理人（1是0否）
    private String isCity;

    //是否打开鉴定权（1是0否）
    private String isAppraisal;

    private String promotionCode;

    private String promotionCodeUrl;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserNickname(String userNickname) 
    {
        this.userNickname = userNickname;
    }

    public String getUserNickname() 
    {
        return userNickname;
    }
    public void setUserWximage(String userWximage) 
    {
        this.userWximage = userWximage;
    }

    public String getUserWximage() 
    {
        return userWximage;
    }
    public void setUserOpenid(String userOpenid) 
    {
        this.userOpenid = userOpenid;
    }

    public String getUserOpenid() 
    {
        return userOpenid;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userPhone", getUserPhone())
            .append("userNickname", getUserNickname())
            .append("userWximage", getUserWximage())
            .append("userOpenid", getUserOpenid())
            .append("userType", getUserType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getIsCity() {
        return isCity;
    }

    public void setIsCity(String isCity) {
        this.isCity = isCity;
    }

    public String getIsAppraisal() {
        return isAppraisal;
    }

    public void setIsAppraisal(String isAppraisal) {
        this.isAppraisal = isAppraisal;
    }

    public String getPromotionCode() {
        return promotionCode;
    }

    public void setPromotionCode(String promotionCode) {
        this.promotionCode = promotionCode;
    }

    public String getPromotionCodeUrl() {
        return promotionCodeUrl;
    }

    public void setPromotionCodeUrl(String promotionCodeUrl) {
        this.promotionCodeUrl = promotionCodeUrl;
    }
}
